// pages/my/rank/rank.js
Page({
  data: {
    list: []
  },
  onLoad: function (options) {
    getApp().globalData.http.leaderboard().then(res => {
      this.setData({
        list: res.data
      });
    });
  },
  onShareAppMessage() {},
})